package com.jingyanzi.sys.domain.result;

public class PageAll {
	
	//当前页
	private Integer pageindex;
	
	//每页大小
	private Integer pagesize;
	
	//总数
	private Integer total;
	
	//数据
	private Object rows;
	
	private String keyField;
	
	private String status;
	
	private String msg;

	public String getKeyField() {
		return keyField;
	}

	public void setKeyField(String keyField) {
		this.keyField = keyField;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Integer getPageindex() {
		return pageindex;
	}

	public void setPageindex(Integer pageindex) {
		if(pageindex!=null) {
			
			this.pageindex = pageindex;
		}
	}

	public Integer getPagesize() {
		return pagesize;
	}

	public void setPagesize(Integer pagesize) {
		
		if(pagesize!=null) {
			
			this.pagesize = pagesize;
		}
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Object getRows() {
		return rows;
	}

	public void setRows(Object rows) {
		this.rows = rows;
	}

	public PageAll(Integer pageindex, Integer pagesize, Integer total, Object rows) {
		super();
		this.pageindex = pageindex;
		this.pagesize = pagesize;
		this.total = total;
		this.rows = rows;
	}

	public PageAll() {
		pagesize=10;
		pageindex=1;
	}
	

}
